package org.springbus.habit.web.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springbus.habit.web.entity.SkuAttrValueList;
import org.springbus.habit.web.entity.SkuSaleAttrValueList;

import java.io.Serializable;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class SkuInfoRequest extends BaseRequest implements Serializable {

    @Schema(description ="平台属性ID")
    private Long category3Id;

    @Schema(description ="价格")
    private String price;

    @Schema(description ="sku属性信息")
    private List<SkuAttrValueList> skuAttrValueList;

    @Schema(description ="sku默认图片")
    private String skuDefaultImg;

    @Schema(description ="描述")
    private String skuDesc;

//    private List<Object> skuImageList;

    @Schema(description ="sku名称")
    private String skuName;

    @Schema(description ="销售属性信息")
    private List<SkuSaleAttrValueList> skuSaleAttrValueList;

    @Schema(description ="spu ID")
    private Long spuId;
    
    private Long tmId;

    @Schema(description ="重量（千克）")
    private String weight;

}
